package org.dromara.demo.domain.bo;

import org.dromara.demo.domain.JsSuiteBasicVar;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.demo.domain.vo.JsCaseVarVo;
import org.dromara.demo.domain.vo.JsExampleVo;

import java.util.List;

/**
 * 套件参数业务对象 js_suite_basic_var
 *
 * @author zhu
 * @date 2025-02-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = JsSuiteBasicVar.class, reverseConvertGenerate = false)
public class JsSuiteBasicVarBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 套件id
     */
    @NotNull(message = "套件id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long suiteId;

    /**
     * 用例id集合
     */
    private String exampleIds;


    /**
     * IDU机器类型
     */
    private String machineType;

    /**
     * 服务器wifi串口号
     */
    private String com;

    /**
     * 产品ID
     */
    private String productId;

    /**
     * 产品ClientID
     */
    private String clientId;

    /**
     * 移动设备类型：android/ios
     */
    private String platformName;

    /**
     * 移动设备版本
     */
    private String platformVersion;

    /**
     * 移动设备名称
     */
    private String deviceName;

    /**
     * 红外服务器地址
     */
    private String serverUrl;

    List<JsExampleVo> jsExampleVos;

    List<JsCaseVarVo> jsCaseVarVos;
}
